package com.ygl.consumer.controller;

import feign.RequestInterceptor;
import feign.RequestTemplate;

/**
 * @Author yanggld
 * @Date 2020/12/21-14:21
 */
public class FeignRequestInterceptor implements RequestInterceptor {
    @Override
    public void apply(RequestTemplate template) {
        template.header("uid","bigzhu");
    }
}
